<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
var mingzi="加菲猫";
    function getInfo(){
        console.log(this.mingzi+"在爬树");
    }
    var cat={mingzi:"波斯猫"};
//    cat.express=getInfo;
//    cat.express();
    getInfo.call(cat);
</script>
</body>
</html>